package com.ankang.art.mapper;

import com.ankang.art.dto.ExaminationDto;
import com.ankang.art.dto.addStudentToExamTestDto;
import com.ankang.art.pto.ExaminationPto;
import com.ankang.art.vo.Examination;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Author:
 * Date:2020/3/17    20:44
 */
@Mapper
public interface ExaminationMapper {

    void deleteExamination(String name);

    List<Examination> getExamination(@Param("name")String name, @Param("status")String status, @Param("beginTime")Long beginTime, @Param("endTime")Long endTime);

    void updateExamination( ExaminationDto judgesDto);

    void savaExamination(ExaminationPto judgesPto);

    void addStudentToExamTest(@Param("studentId")Object studentId,@Param("testId") Integer testId);
}
